/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: "Microsoft Yahei", sans-serif;
    padding: 20px;
    background-color: #f5f5f5; /* 页面背景色 */
}

/* 模块容器样式 */
.shop-section {
    width: 320px;
    background-color: white; /* 模块整体背景 */
    border-radius: 6px;
    padding: 15px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05); /* 轻微阴影增强层次感 */
}

/* 标题与箭头样式 */
.section-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}
.arrow-container {
    margin-left: 8px;
    width: 20px;
    height: 20px;
    overflow: hidden;
    text-decoration: none;
}
.arrow-icon {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-image: url("./images/arrow.png");
    background-size: 40px 40px;
    background-position: -20px 0; /* 默认显示第一排第二个箭头 */
    transition: background-position 0.3s ease;
}
.arrow-container:hover .arrow-icon {
    background-position: 0 0; /*  hover显示第一排第一个箭头 */
}

/* 店铺项样式（核心：背景色设置） */
.shop-item {
    display: flex;
    align-items: center;
    background-color: #ffe6f0; /* 店铺项浅灰色背景 */
    border-radius: 4px;
    padding: 12px;
    margin-bottom: 12px; /* 两个店铺项之间的间距 */
}

/* 最后一个店铺项去除底部间距 */
.shop-item:last-child {
    margin-bottom: 0;
    background-color: #e6f0ff; /* 最后一个店铺项浅蓝色背景 */
}

/* 店铺信息区域 */
.shop-info {
    flex: 1; /* 占满剩余空间 */
    padding-right: 10px;
}
.shop-info h3 {
    font-size: 14px;
    color: #333;
    margin-bottom: 8px;
    line-height: 1.4;
}
.self-operated {
    display: inline-block;
    font-size: 12px;
    color: #e53e3e;
    border: 1px solid #e53e3e;
    border-radius: 2px;
    padding: 0 4px;
    margin-bottom: 8px;
}
.shop-info p {
    font-size: 12px;
    color: #999;
}

/* 店铺图片区域 */
.shop-img img {
    width: 80px;
    height: 80px;
    object-fit: contain; /* 保持图片比例，避免拉伸 */
}